@echo off
set GDAL_HOME=D:\osgb_ortho_tool\gdal-3.10.2
set PATH=%GDAL_HOME%\bin;%PATH%
set GDAL_DATA=%GDAL_HOME%\data
set GDAL_DRIVER_PATH=%GDAL_HOME%\bin\gdalplugins
set PYTHONPATH=%GDAL_HOME%\bin\python;%GDAL_HOME%\bin;%PYTHONPATH%

echo GDAL环境变量设置完成！
python osgb_to_ortho.py %* 